package com.CmJava.entity.blog;

import com.CmJava.entity.project.ChildModel;

import java.io.Serializable;
import java.util.List;

public class BlogModel implements Serializable {
    private String modelName;
    private List<ChildModel> childModel;

    public BlogModel() {
    }

    public BlogModel(String modelName, List<ChildModel> childModel) {
        this.modelName = modelName;
        this.childModel = childModel;
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public List<ChildModel> getChildModel() {
        return childModel;
    }

    public void setChildModel(List<ChildModel> childModel) {
        this.childModel = childModel;
    }

    @Override
    public String toString() {
        return "BlogModel{" +
                "modelName='" + modelName + '\'' +
                ", childModel=" + childModel +
                '}';
    }
}
